----------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\Ammar\Documents\NOON Replication\ReplicationLog.log
  log type:  text
 opened on:  16 Jul 2019, 14:16:56

. do "C:\Users\Ammar\Documents\NOON Replication\ArticleReplication.do"

. // Never out of Now Replication File
. 
. // Requires installation of cem, grc1leg and coefplot
. 
. /* Load Sudan data (MI Set) */
. 
. use SUForPub, clear

. 
. /* generate missing variable indicators for democratic support and gradual change */
. 
. gen democraticMissing = .
(20705 missing values generated)

. replace democraticMissing =   1 if DemocraticSupport==.
(70 real changes made)

. replace democraticMissing =   0 if DemocraticSupport != . & imp==0
(435 real changes made)

. 
. gen GovPMiss = 1 if GovPer==. & imp==0
(20698 missing values generated)

. replace GovPMiss = 0 if GovPer!=. & imp==0
(498 real changes made)

. gen GovDMiss = 1 if GovDoesAllItCan==. & imp==0
(20687 missing values generated)

. replace GovDMiss = 0 if GovDoesAllItCan!=. & imp==0
(487 real changes made)

. gen TrustGMiss = 1 if  TrustGov==. & imp==0
(20677 missing values generated)

. replace TrustGMiss = 0 if  TrustGov!=. & imp==0
(477 real changes made)

. gen GovCorrMiss = 1 if  GovCorruption==. & imp==0
(20642 missing values generated)

. replace GovCorrMiss = 0 if   GovCorruption!=. & imp==0
(442 real changes made)

. gen CritMissing =  GovPMiss + GovDMiss + TrustGMiss + GovCorrMiss
(20200 missing values generated)

. mi register regular democraticMissing CritMissing GovCorrMiss TrustGMiss GovDMiss GovPMiss
(20200 values of regular variable democraticMissing in m>0 updated to match values in m=0)
(20200 values of regular variable CritMissing in m>0 updated to match values in m=0)
(20200 values of regular variable GovCorrMiss in m>0 updated to match values in m=0)
(20200 values of regular variable TrustGMiss in m>0 updated to match values in m=0)
(20200 values of regular variable GovDMiss in m>0 updated to match values in m=0)
(20200 values of regular variable GovPMiss in m>0 updated to match values in m=0)

. 
. gen GovPerR2 = -1*GovPer + 1
(7 missing values generated)

. gen TrustGovR2 = -1*TrustGov + 1
(28 missing values generated)

. gen GovDoesAllR2 = -1*GovDoesAllItCan + 1
(18 missing values generated)

. gen CritGov2= GovPerR2 + TrustGovR2 + GovDoesAllR2 + GovCorruption
(97 missing values generated)

. mi register passive CritGov2 GovPerR2 TrustGovR2 GovDoesAllR2 

. 
. /* Figure 1: Sudan Government Performance (some aesthetic changes made in graph editor)*/
. 
. graph bar (mean) GovPer if imp==0, over(ArabSpring, relabel(1 "Before Tunisian Revolution" 2 "After Tunisian Revolution" )) asyvars bargap(10) bar(1, co
> lor(green*0.6)) bar(2, color(blue*0.5))  ytitle("Proportion Positive or Neutral") graphregion(color(white)) bgcolor(white) title("Evaluation of Governme
> nt Performance in Sudan") saving(SBFigure1, asis replace)
(note: file SBFigure1.gph not found)
file SBFigure1.gph saved

. graph export SBFigure1.png
(file SBFigure1.png written in PNG format)

. 
. /* Figure 2: Sudan Support for Government kernel density (graph done in R, but a kernel density function was drawn in Stata to simplify replication - Se
> e SBFigure2.R )*/
. 
. kdensity GovSatisfaction if imp==0, kernel(gaussian) nograph generate(x fx)

. kdensity GovSatisfaction if ArabSpring==0 & imp==0, kernel(gaussian) nograph generate(fx0) at(x)

. kdensity GovSatisfaction if ArabSpring==1 & imp==0, kernel(gaussian) nograph generate(fx1) at(x)

. label var fx0 "Before Tunisian Revolution"

. label var fx1 "After Tunisian Revolution"

. line fx0 fx1 x, lwidth(medthick) sort ytitle("Denisty") title("Satisfaction with Government in Sudan") graphregion(color(white)) bgcolor(white) saving(S
> BFigure2Stata, asis replace)
(note: file SBFigure2Stata.gph not found)
file SBFigure2Stata.gph saved

. graph export SBFigure2Stata.png
(file SBFigure2Stata.png written in PNG format)

. drop fx x fx0 fx1

. 
. /* Table 1: Covariate Balance (table created by hand) 
> Sudan Coarsening -, Age (18-27, 28-37, 38-47, 48-57, 58-67, 68-77, 78+) */
. 
. imb Rural lnincome Age Female, tr(ArabSpring) impvar(imp)

Multivariate L1 distance: .70903149

Univariate imbalance:

               L1     mean      min      25%      50%      75%      max
   Rural   .19101   .19101        0        0        1        0        0
lnincome   .27651   .05019   .43078   .08004   -.2693   .14039  -.11974
     Age   .16588  -.52053       -1       -3        2        0       -8
  Female   .21203   .21203        0        0        1        0        0

. 
. summarize lnincome if imp==0, detail

                         ln(income)
-------------------------------------------------------------
      Percentiles      Smallest
 1%     5.298317       4.867535
 5%     5.703783       5.010635
10%     5.857933       5.298317       Obs                 299
25%     6.214608       5.298317       Sum of Wgt.         299

50%      6.55108                      Mean           6.571876
                        Largest       Std. Dev.      .5766963
75%     6.907755       8.006368
90%     7.313221       8.294049       Variance       .3325786
95%     7.600903       8.294049       Skewness       .2480638
99%     8.294049       8.699514       Kurtosis       3.814412

. 
. cem Rural lnincome Age (0 27.5 37.5 47.5 57.5 67.5 77.5 110) Female, tr(ArabSpring) impvar(imp)

Matching Summary:
-----------------
Number of strata: 156
Number of matched strata: 61

             0    1
      All  161  344
  Matched  133  185
Unmatched   28  159


Multivariate L1 distance: .52111111

Univariate imbalance:

                L1      mean       min       25%       50%       75%       max
   Rural   5.6e-17         0         0         0         0         0         0
lnincome    .10775   -.00243   -.18232   -.06454   -.12731    .02372    .14105
     Age    .08904   -.02514        -1         0         0         0         2
  Female   2.2e-16  -1.1e-16         0         0         0         0         0

. 
. // Recode Provinces with few observations
. replace  ProvinceName = 9010 if ProvinceName==9003
(41 real changes made)

. replace  ProvinceName = 9004 if ProvinceName==9012
(328 real changes made)

. 
. save SudanCEM, replace
(note: file SudanCEM.dta not found)
file SudanCEM.dta saved

.   
. 
. /* Figure 3, saved tables in appendix: Regression Analyses on Matched Data */
. /* Sudan */  
. 
. /* The following code requires the coefplot package, which can be downloaded using:
> ssc install coefplot, replace */
. 
. eststo Freeriding: mi estimate, post: reg Freeriding ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        318
                                                  Average RVI     =     0.3414
                                                  Complete DF     =        302
DF adjustment:   Small sample                     DF:     min     =     104.28
                                                          avg     =     178.75
                                                          max     =     264.40
Model F test:       Equal FMI                     F(  15,  288.3) =       2.98
Within VCE type:       Robust                     Prob > F        =     0.0002

------------------------------------------------------------------------------
  Freeriding |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |   .4798009   .1889171     2.54   0.012     .1064934    .8531083
       Rural |   .0366997   .1841349     0.20   0.842    -.3269081    .4003076
      Female |  -.0182199   .1305144    -0.14   0.889    -.2756709     .239231
    lnincome |  -.0323036   .1376223    -0.23   0.815    -.3051532     .240546
         Age |   .0004896   .0070848     0.07   0.945    -.0135192    .0144983
             |
ProvinceName |
       9002  |   .2515345   .2968397     0.85   0.398     -.334412    .8374811
       9004  |   .2369833   .3050921     0.78   0.438    -.3645892    .8385558
       9005  |  -.3676001   .3309474    -1.11   0.268    -1.019228    .2840277
       9006  |  -.2361761   .3293408    -0.72   0.474    -.8850135    .4126614
       9007  |  -.2241187   .3147036    -0.71   0.477    -.8454352    .3971978
       9008  |   .3045094   .2623291     1.16   0.247    -.2125763    .8215952
       9009  |   .2658315   .4563923     0.58   0.561    -.6334349    1.165098
       9010  |   .7515552   .2772286     2.71   0.007     .2052695    1.297841
       9011  |   .0806503   .3892476     0.21   0.836    -.6870035    .8483041
       9013  |   .0741665    .395143     0.19   0.851    -.7090629    .8573958
             |
       _cons |   1.534102   .9871198     1.55   0.123    -.4233326    3.491536
------------------------------------------------------------------------------

. 
. eststo CritGov: mi estimate, post: reg CritGov2 ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        318
                                                  Average RVI     =     0.0925
                                                  Complete DF     =        302
DF adjustment:   Small sample                     DF:     min     =     141.09
                                                          avg     =     246.73
                                                          max     =     286.89
Model F test:       Equal FMI                     F(  15,  298.5) =       5.53
Within VCE type:       Robust                     Prob > F        =     0.0000

------------------------------------------------------------------------------
    CritGov2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |  -.7382184   .2002504    -3.69   0.000    -1.132427   -.3440094
       Rural |   .0586655   .1874773     0.31   0.755     -.310489    .4278199
      Female |  -.3636546   .1768439    -2.06   0.041    -.7117306   -.0155786
    lnincome |   .0216861   .1750577     0.12   0.902     -.324389    .3677612
         Age |  -.0037452    .009273    -0.40   0.687      -.02201    .0145196
             |
ProvinceName |
       9002  |  -.7656893   .3321679    -2.31   0.022    -1.420251   -.1111275
       9004  |   .1716848   .3859567     0.44   0.657    -.5880812    .9314509
       9005  |   .6968098   .3865906     1.80   0.073    -.0645602     1.45818
       9006  |   .6103917   .3899302     1.57   0.119    -.1574379    1.378221
       9007  |   .2816684   .3292456     0.86   0.393    -.3671463    .9304832
       9008  |   .4649418   .2998092     1.55   0.122    -.1254933    1.055377
       9009  |   .3651958   .5387485     0.68   0.498    -.6954234    1.425815
       9010  |  -.6884571   .3399745    -2.03   0.044    -1.357848   -.0190658
       9011  |  -.1253786   .6469071    -0.19   0.846    -1.398803    1.148046
       9013  |   .2231612   .5875625     0.38   0.704    -.9336185    1.379941
             |
       _cons |   2.286962   1.203751     1.90   0.059    -.0908997    4.664825
------------------------------------------------------------------------------

. 
. eststo CurrentEcon: mi estimate, post: reg CurrentEcon ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        318
                                                  Average RVI     =     0.0605
                                                  Complete DF     =        302
DF adjustment:   Small sample                     DF:     min     =     172.48
                                                          avg     =     274.09
                                                          max     =     299.00
Model F test:       Equal FMI                     F(  15,  299.2) =       4.87
Within VCE type:       Robust                     Prob > F        =     0.0000

------------------------------------------------------------------------------
 CurrentEcon |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |   .4618342    .117694     3.92   0.000     .2302035    .6934648
       Rural |  -.0362782    .131788    -0.28   0.783    -.2956553     .223099
      Female |   .2084609   .1196163     1.74   0.082    -.0269586    .4438805
    lnincome |  -.0448649   .1111963    -0.40   0.687    -.2642945    .1745647
         Age |   .0016784   .0051432     0.33   0.744    -.0084445    .0118012
             |
ProvinceName |
       9002  |  -.0169873   .2676861    -0.06   0.949    -.5437896    .5098151
       9004  |  -.1720119   .2378484    -0.72   0.470    -.6400888    .2960649
       9005  |  -.1965002   .2060557    -0.95   0.341    -.6020161    .2090158
       9006  |  -.7163691   .2273758    -3.15   0.002    -1.163844   -.2688945
       9007  |  -.5443096   .2196734    -2.48   0.014    -.9766482   -.1119711
       9008  |    .295599   .2151268     1.37   0.170    -.1277554    .7189535
       9009  |   .0488667   .2910058     0.17   0.867    -.5238935    .6216269
       9010  |  -.0312153   .2255673    -0.14   0.890    -.4751242    .4126935
       9011  |  -.0724741   .3905969    -0.19   0.853    -.8411494    .6962013
       9013  |   .0908903   .3303926     0.28   0.784    -.5612432    .7430237
             |
       _cons |   1.429161   .8017561     1.78   0.076    -.1516449    3.009968
------------------------------------------------------------------------------

. 
. eststo FutureEcon: mi estimate, post: reg FutureEcon ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        318
                                                  Average RVI     =     0.0681
                                                  Complete DF     =        302
DF adjustment:   Small sample                     DF:     min     =     140.29
                                                          avg     =     258.15
                                                          max     =     290.26
Model F test:       Equal FMI                     F(  15,  299.0) =       5.57
Within VCE type:       Robust                     Prob > F        =     0.0000

------------------------------------------------------------------------------
  FutureEcon |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |   .8240721   .1824916     4.52   0.000     .4648675    1.183277
       Rural |  -.1552647   .2046797    -0.76   0.449    -.5581342    .2476049
      Female |   .1456465    .161525     0.90   0.368    -.1723052    .4635981
    lnincome |  -.1257708   .1554684    -0.81   0.420    -.4331345     .181593
         Age |   .0067307   .0077816     0.86   0.388    -.0085867     .022048
             |
ProvinceName |
       9002  |   .0563692   .3102092     0.18   0.856    -.5544617    .6672001
       9004  |  -.7769344   .3989852    -1.95   0.053     -1.56236    .0084911
       9005  |  -.4374311   .3519313    -1.24   0.215    -1.130173    .2553112
       9006  |  -.9471921   .3725664    -2.54   0.012    -1.680563   -.2138215
       9007  |  -1.050247   .3429917    -3.06   0.002    -1.725518    -.374977
       9008  |  -.2409162   .3117279    -0.77   0.440    -.8545941    .3727618
       9009  |  -.4748843   .5697414    -0.83   0.405    -1.596351    .6465825
       9010  |   -.074818    .351033    -0.21   0.831    -.7658449     .616209
       9011  |  -.4672372   .4793734    -0.97   0.331    -1.410726    .4762515
       9013  |  -.1589983   .4109427    -0.39   0.699    -.9693312    .6513346
             |
       _cons |    2.98572   1.100937     2.71   0.007     .8112264    5.160214
------------------------------------------------------------------------------

. 
. coefplot (Freeriding, lab(Social Capital)) (CritGov, lab(Criticize Government)) (CurrentEcon, lab(Current Economy)) (FutureEcon, lab(Future Economy)), k
> eep(ArabSpring) mlabel yline(0) vert format(%9.2f) graphregion(color(white)) coeflabels(ArabSpring = "Sudan", notick ) bgcolor(white)  name(Sudan3) savi
> ng(SBf3Sudan, asis replace)
(note: file SBf3Sudan.gph not found)
file SBf3Sudan.gph saved

. 
. /* Used for actual paper coefplot (Freeriding, lab(Social Capital)) (GovPer, lab(Government Performance)) (TrustGov, lab(Trust Government)) Corruption (
> CurrentEcon, lab(Current Economy)) (FutureEcon, lab(Future Economy)) Democracy, keep(ArabSpring) mlabel yline(0) vert format(%9.2f) graphregion(color(wh
> ite))  coeflabels(ArabSpring = "Lebanon", notick ) bgcolor(white) */
. save, replace
file SudanCEM.dta saved

. 
. /* Lebanon - Income below or above the median, Age (18-27, 28-37, 38-47, 48-57, 58-67, 68-77, 78+), Education No post-secondary education, post-secodary
>  education */
. use LForPub, clear

. 
. gen democraticMissing = .
(24641 missing values generated)

. replace democraticMissing =   1 if DemocraticSupport==.
(18 real changes made)

. replace democraticMissing =   0 if DemocraticSupport != . & imp==0
(583 real changes made)

. 
. gen GovPMiss = 1 if GovPerLeb==. & imp==0
(24610 missing values generated)

. replace GovPMiss = 0 if GovPerLeb!=. & imp==0
(570 real changes made)

. gen GovDMiss = 1 if GovDoesAllItCan==. & imp==0
(24617 missing values generated)

. replace GovDMiss = 0 if GovDoesAllItCan!=. & imp==0
(577 real changes made)

. gen TrustGMiss = 1 if  TrustGov==. & imp==0
(24611 missing values generated)

. replace TrustGMiss = 0 if  TrustGov!=. & imp==0
(571 real changes made)

. gen GovCorrMiss = 1 if  GovCorruption==. & imp==0
(24636 missing values generated)

. replace GovCorrMiss = 0 if   GovCorruption!=. & imp==0
(596 real changes made)

. gen CritMissing =  GovPMiss + GovDMiss + TrustGMiss + GovCorrMiss
(24040 missing values generated)

. mi register regular democraticMissing CritMissing GovCorrMiss TrustGMiss GovDMiss GovPMiss
(24040 values of regular variable democraticMissing in m>0 updated to match values in m=0)
(24040 values of regular variable CritMissing in m>0 updated to match values in m=0)
(24040 values of regular variable GovCorrMiss in m>0 updated to match values in m=0)
(24040 values of regular variable TrustGMiss in m>0 updated to match values in m=0)
(24040 values of regular variable GovDMiss in m>0 updated to match values in m=0)
(24040 values of regular variable GovPMiss in m>0 updated to match values in m=0)

. 
. gen GovPerR2 = -1*GovPerLeb + 1
(31 missing values generated)

. gen TrustGovR2 = -1*TrustGov + 1
(30 missing values generated)

. gen GovDoesAllR2 = -1*GovDoesAllItCan + 1
(24 missing values generated)

. gen CritGov2= GovPerR2 + TrustGovR2 + GovDoesAllR2 + GovCorruption
(72 missing values generated)

. mi register passive CritGov2 GovPerR2 TrustGovR2 GovDoesAllR2 

. 
. imb Rural lnincome Age Education, tr(ArabSpring) impvar(imp)

Multivariate L1 distance: .49857376

Univariate imbalance:

                L1     mean      min      25%      50%      75%      max
    Rural   .00606  -.00606        0        0        0        0        0
 lnincome   .08001   .03069   .69315        0        0        0   .20988
      Age   .11572   .42298        0        2        1       -1        0
Education   .19439   -.2417        0       -1       -1        0        0

. 
. summarize lnincome if imp==0, detail

                          lnincome
-------------------------------------------------------------
      Percentiles      Smallest
 1%     5.703783        4.60517
 5%     5.991465       5.298317
10%     6.214608       5.298317       Obs                 499
25%      6.55108       5.298317       Sum of Wgt.         499

50%     6.907755                      Mean           6.903084
                        Largest       Std. Dev.      .5646992
75%     7.313221       8.517193
90%     7.600903       8.517193       Variance       .3188852
95%     7.824046       8.517193       Skewness       .0378868
99%     8.294049       8.517193       Kurtosis        3.48161

. 
. cem Rural lnincome Age (0 27.5 37.5 47.5 57.5 67.5 77.5 110) Education (0 3.5 7), tr(ArabSpring) impvar(imp)

Matching Summary:
-----------------
Number of strata: 82
Number of matched strata: 55

             0    1
      All  409  192
  Matched  369  189
Unmatched   40    3


Multivariate L1 distance: .38146358

Univariate imbalance:

                L1     mean      min      25%      50%      75%      max
    Rural  1.7e-16  6.9e-18        0        0        0        0        0
 lnincome   .04059   .00214        0        0        0        0   .20988
      Age   .05662  -.07354        0        0        0        0        0
Education   .16289  -.20545        0       -1       -1        0        0

. 
. save LebCEM, replace
(note: file LebCEM.dta not found)
file LebCEM.dta saved

. 
. eststo Freeriding: mi estimate, post: reg Freeriding ArabSpring Education lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        558
                                                  Average RVI     =     0.1347
                                                  Complete DF     =        548
DF adjustment:   Small sample                     DF:     min     =     288.60
                                                          avg     =     432.88
                                                          max     =     519.54
Model F test:       Equal FMI                     F(   9,  534.1) =       5.59
Within VCE type:       Robust                     Prob > F        =     0.0000

------------------------------------------------------------------------------
  Freeriding |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |  -.0021299   .0949238    -0.02   0.982    -.1888149    .1845551
   Education |   .0590602   .0360525     1.64   0.102    -.0117825    .1299029
    lnincome |  -.1982663   .0761236    -2.60   0.010    -.3480941   -.0484385
         Age |  -.0031462   .0039504    -0.80   0.426     -.010907    .0046146
             |
ProvinceName |
       4502  |    .010257   .1706629     0.06   0.952    -.3250254    .3455394
       4503  |  -.0899505   .1766358    -0.51   0.611     -.437038     .257137
       4504  |   -.663449   .1786822    -3.71   0.000     -1.01463   -.3122683
       4505  |    .017734   .1891754     0.09   0.925    -.3540787    .3895468
       4506  |   .1855157   .2274514     0.82   0.415    -.2613438    .6323751
             |
       _cons |   2.480562   .5796384     4.28   0.000     1.340234    3.620889
------------------------------------------------------------------------------

. 
. eststo CritGov: mi estimate, post: reg CritGov2 ArabSpring Education lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        558
                                                  Average RVI     =     0.0427
                                                  Complete DF     =        548
DF adjustment:   Small sample                     DF:     min     =     464.96
                                                          avg     =     513.55
                                                          max     =     541.76
Model F test:       Equal FMI                     F(   9,  544.3) =       1.68
Within VCE type:       Robust                     Prob > F        =     0.0911

------------------------------------------------------------------------------
    CritGov2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |   -.108048   .0933703    -1.16   0.248    -.2914908    .0753947
   Education |   .0309868   .0351872     0.88   0.379    -.0381467    .1001203
    lnincome |   .0848988   .0688373     1.23   0.218    -.0503719    .2201696
         Age |   .0053032   .0041466     1.28   0.201    -.0028428    .0134493
             |
ProvinceName |
       4502  |   .0558019   .1670653     0.33   0.739    -.2723864    .3839902
       4503  |   .3422442   .1703105     2.01   0.045     .0076738    .6768146
       4504  |   .3544876   .1862213     1.90   0.058    -.0113529    .7203281
       4505  |   .0829257   .2020395     0.41   0.682    -.3139824    .4798337
       4506  |  -.0573152   .2396332    -0.24   0.811    -.5280393    .4134088
             |
       _cons |   2.173992   .5530641     3.93   0.000     1.087374    3.260611
------------------------------------------------------------------------------

. 
. eststo CurrentEcon: mi estimate, post: reg CurrentEcon ArabSpring  Education lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        558
                                                  Average RVI     =     0.0354
                                                  Complete DF     =        548
DF adjustment:   Small sample                     DF:     min     =     314.49
                                                          avg     =     501.19
                                                          max     =     545.50
Model F test:       Equal FMI                     F(   9,  544.8) =       8.95
Within VCE type:       Robust                     Prob > F        =     0.0000

------------------------------------------------------------------------------
 CurrentEcon |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |  -.0240353   .0487638    -0.49   0.622    -.1198252    .0717546
   Education |    .020377   .0191836     1.06   0.289    -.0173086    .0580626
    lnincome |   .0747725   .0398482     1.88   0.062    -.0036302    .1531752
         Age |    -.00155   .0023579    -0.66   0.511    -.0061817    .0030816
             |
ProvinceName |
       4502  |  -.0964643   .0844498    -1.14   0.254    -.2623509    .0694223
       4503  |  -.3340901   .0805272    -4.15   0.000    -.4922768   -.1759033
       4504  |  -.1104058   .0941161    -1.17   0.241    -.2952814    .0744698
       4505  |   .0975592   .1162274     0.84   0.402     -.130749    .3258673
       4506  |   .2852055   .1212099     2.35   0.019     .0471099    .5233012
             |
       _cons |  -.0557413   .2991891    -0.19   0.852    -.6440818    .5325992
------------------------------------------------------------------------------

. 
. eststo FutureEcon: mi estimate, post: reg FutureEcon ArabSpring Education lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        558
                                                  Average RVI     =     0.0410
                                                  Complete DF     =        548
DF adjustment:   Small sample                     DF:     min     =     368.99
                                                          avg     =     506.74
                                                          max     =     545.66
Model F test:       Equal FMI                     F(   9,  544.4) =       9.10
Within VCE type:       Robust                     Prob > F        =     0.0000

------------------------------------------------------------------------------
  FutureEcon |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |   .1604236   .0973065     1.65   0.100    -.0307329    .3515801
   Education |  -.0013288   .0378439    -0.04   0.972    -.0756719    .0730143
    lnincome |   .0812891   .0763097     1.07   0.287    -.0687674    .2313456
         Age |   .0012789   .0051595     0.25   0.804     -.008856    .0114138
             |
ProvinceName |
       4502  |   .2747377    .172407     1.59   0.112    -.0639259    .6134012
       4503  |  -.6463885   .1522999    -4.24   0.000    -.9455603   -.3472166
       4504  |   -.269193   .1830273    -1.47   0.142    -.6287497    .0903637
       4505  |   .1010238   .1956973     0.52   0.606    -.2833884    .4854361
       4506  |   .4956813   .2382654     2.08   0.038     .0275984    .9637641
             |
       _cons |   .2745251   .5863276     0.47   0.640    -.8779383    1.426989
------------------------------------------------------------------------------

. 
. coefplot (Freeriding, lab(Social Capital)) (CritGov, lab(Criticize Government)) (CurrentEcon, lab(Current Economy)) (FutureEcon, lab(Future Economy)), k
> eep(ArabSpring) mlabel yline(0) vert format(%9.2f) graphregion(color(white)) coeflabels(ArabSpring = "Lebanon", notick ) bgcolor(white)  name(Lebanon3) 
> saving(SBf3Leb, asis replace)
(note: file SBf3Leb.gph not found)
file SBf3Leb.gph saved

. 
. save, replace
file LebCEM.dta saved

. 
. /* Saudi Arabia -  Age (18-27, 28-37, 38-47, 48-57, 58-67, 68-77, 78+)*/
. use SAForPub

. 
. gen democraticMissing = .
(14432 missing values generated)

. replace democraticMissing =   1 if DemocraticSupport==.
(143 real changes made)

. replace democraticMissing =   0 if DemocraticSupport != . & imp==0
(209 real changes made)

. 
. gen GovPMiss = 1 if GovPer==. & imp==0
(14412 missing values generated)

. replace GovPMiss = 0 if GovPer!=. & imp==0
(332 real changes made)

. gen GovDMiss = 1 if GovDoesAllItCan==. & imp==0
(14380 missing values generated)

. replace GovDMiss = 0 if GovDoesAllItCan!=. & imp==0
(300 real changes made)

. gen TrustGMiss = 1 if  TrustGov==. & imp==0
(14380 missing values generated)

. replace TrustGMiss = 0 if  TrustGov!=. & imp==0
(300 real changes made)

. gen GovCorrMiss = 1 if  GovCorruption==. & imp==0
(14336 missing values generated)

. replace GovCorrMiss = 0 if   GovCorruption!=. & imp==0
(256 real changes made)

. gen CritMissing =  GovPMiss + GovDMiss + TrustGMiss + GovCorrMiss
(14080 missing values generated)

. mi register regular democraticMissing CritMissing GovCorrMiss TrustGMiss GovDMiss GovPMiss
(14080 values of regular variable democraticMissing in m>0 updated to match values in m=0)
(14080 values of regular variable CritMissing in m>0 updated to match values in m=0)
(14080 values of regular variable GovCorrMiss in m>0 updated to match values in m=0)
(14080 values of regular variable TrustGMiss in m>0 updated to match values in m=0)
(14080 values of regular variable GovDMiss in m>0 updated to match values in m=0)
(14080 values of regular variable GovPMiss in m>0 updated to match values in m=0)

. 
. gen GovPerR2 = -1*GovPer + 1
(20 missing values generated)

. gen TrustGovR2 = -1*TrustGov + 1
(52 missing values generated)

. gen GovDoesAllR2 = -1*GovDoesAllItCan + 1
(52 missing values generated)

. gen CritGov2= GovPerR2 + TrustGovR2 + GovDoesAllR2 + GovCorruption
(135 missing values generated)

. mi register passive CritGov2 GovPerR2 TrustGovR2 GovDoesAllR2 

. 
. imb Rural lnincome Age Female, tr(ArabSpring) impvar(imp)

Multivariate L1 distance: .67857972

Univariate imbalance:

               L1     mean      min      25%      50%      75%      max
   Rural   .07921   .07921        0        0        0        0        0
lnincome    .2583   .06922    -.865   .24686   .10536  -.22028   .40547
     Age   .41457   11.042       24       10       11       10       10
  Female   .03484  -.03484        0        0        0        0        0

. 
. summarize lnincome if imp==0, detail

                          lnincome
-------------------------------------------------------------
      Percentiles      Smallest
 1%     7.600903       6.684612
 5%     8.294049       7.438384
10%     8.517193       7.549609       Obs                 303
25%     8.853665       7.600903       Sum of Wgt.         303

50%      9.10498                      Mean           9.113147
                        Largest       Std. Dev.      .5249409
75%     9.392662        10.4631
90%     9.615806       10.81978       Variance       .2755629
95%     9.903487       10.81978       Skewness      -.1736386
99%      10.4631       11.22524       Kurtosis       5.749421

. 
. cem Rural lnincome Age (0 27.5 37.5 47.5 57.5 67.5 77.5 110) Female, tr(ArabSpring) impvar(imp)

Matching Summary:
-----------------
Number of strata: 61
Number of matched strata: 20

             0    1
      All  147  205
  Matched  108  167
Unmatched   39   38


Multivariate L1 distance: .61548332

Univariate imbalance:

               L1     mean      min      25%      50%      75%      max
   Rural  5.9e-17  6.9e-18        0        0        0        0        0
lnincome   .20942   .01639    .3514        0        0  -.06899   .04776
     Age   .22233   1.4036        4        0        1        3        2
  Female  2.5e-16  2.2e-16        0        0        0        0        0

. 
. save SACEM
file SACEM.dta saved

. 
. eststo Freeriding: mi estimate, post: reg Freeriding ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        275
                                                  Average RVI     =     0.3554
                                                  Complete DF     =        264
DF adjustment:   Small sample                     DF:     min     =     109.14
                                                          avg     =     134.11
                                                          max     =     189.37
Model F test:       Equal FMI                     F(  10,  248.3) =       2.27
Within VCE type:       Robust                     Prob > F        =     0.0149

------------------------------------------------------------------------------
  Freeriding |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |   .2607942   .1475432     1.77   0.080    -.0313755    .5529638
       Rural |  -.6266581   .3719751    -1.68   0.095    -1.363598    .1102814
      Female |   .0983658   .1269182     0.78   0.440    -.1524423     .349174
    lnincome |    .192646   .1231054     1.56   0.120    -.0511551    .4364472
         Age |   .0122089   .0085402     1.43   0.154    -.0046372     .029055
             |
ProvinceName |
       8002  |  -.0837303   .2277818    -0.37   0.714    -.5341332    .3666727
       8003  |  -.2190211     .31252    -0.70   0.485    -.8384165    .4003744
       8004  |  -.0273783   .2204554    -0.12   0.901    -.4627667    .4080102
       8005  |  -.0444325   .2262516    -0.20   0.845    -.4927566    .4038915
       8006  |  -.4744096   .2273511    -2.09   0.039    -.9237213   -.0250978
             |
       _cons |  -.6321018   1.334918    -0.47   0.637    -3.273969    2.009765
------------------------------------------------------------------------------

. 
. eststo CritGov: mi estimate, post: reg CritGov2 ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        275
                                                  Average RVI     =     0.2049
                                                  Complete DF     =        264
DF adjustment:   Small sample                     DF:     min     =     138.31
                                                          avg     =     198.85
                                                          max     =     240.84
Model F test:       Equal FMI                     F(  10,  256.0) =       3.72
Within VCE type:       Robust                     Prob > F        =     0.0001

------------------------------------------------------------------------------
    CritGov2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |  -.2206246   .1954418    -1.13   0.260    -.6056182     .164369
       Rural |   .4700084   .5155981     0.91   0.363    -.5472208    1.487238
      Female |  -.0602304   .1451121    -0.42   0.678    -.3461948    .2257339
    lnincome |  -.2118508   .1534161    -1.38   0.170     -.515195    .0914933
         Age |   .0038084   .0122981     0.31   0.757     -.020423    .0280398
             |
ProvinceName |
       8002  |   .8861081   .2491766     3.56   0.000     .3949628    1.377253
       8003  |   .3506345   .2120398     1.65   0.100    -.0679615    .7692305
       8004  |   .3756384   .2390755     1.57   0.118    -.0956514    .8469282
       8005  |   .0944205   .3208244     0.29   0.769    -.5377543    .7265952
       8006  |    .658838   .1826146     3.61   0.000     .2986063     1.01907
             |
       _cons |   2.552437   1.652291     1.54   0.124    -.7104836    5.815358
------------------------------------------------------------------------------

. 
. eststo CurrentEcon: mi estimate, post: reg CurrentEcon ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        275
                                                  Average RVI     =     0.0383
                                                  Complete DF     =        264
DF adjustment:   Small sample                     DF:     min     =     210.65
                                                          avg     =     244.05
                                                          max     =     260.15
Model F test:       Equal FMI                     F(  10,  261.6) =       5.85
Within VCE type:       Robust                     Prob > F        =     0.0000

------------------------------------------------------------------------------
 CurrentEcon |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |   .2483269   .1522316     1.63   0.104    -.0514389    .5480928
       Rural |  -.4259946   .2578922    -1.65   0.100    -.9338164    .0818272
      Female |  -.0407718   .1088093    -0.37   0.708     -.255064    .1735205
    lnincome |   .1905467    .107835     1.77   0.079    -.0220274    .4031207
         Age |   .0109201   .0076635     1.42   0.155    -.0041721    .0260123
             |
ProvinceName |
       8002  |  -.3963997   .1958084    -2.02   0.044    -.7820972   -.0107023
       8003  |   .3330328   .2065878     1.61   0.108      -.07387    .7399356
       8004  |  -.1504921   .1908078    -0.79   0.431    -.5263305    .2253463
       8005  |   .2044688   .2657051     0.77   0.442    -.3188029    .7277405
       8006  |   .2168318   .1730344     1.25   0.211    -.1240234    .5576871
             |
       _cons |  -.3763783   1.154223    -0.33   0.745    -2.651071    1.898314
------------------------------------------------------------------------------

. 
. eststo FutureEcon: mi estimate, post: reg FutureEcon ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        275
                                                  Average RVI     =     0.1015
                                                  Complete DF     =        264
DF adjustment:   Small sample                     DF:     min     =     152.27
                                                          avg     =     218.64
                                                          max     =     244.36
Model F test:       Equal FMI                     F(  10,  259.9) =       7.61
Within VCE type:       Robust                     Prob > F        =     0.0000

------------------------------------------------------------------------------
  FutureEcon |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |    .425528   .1472796     2.89   0.004     .1354284    .7156276
       Rural |  -1.111175   .5589372    -1.99   0.049    -2.215448   -.0069014
      Female |    -.09602   .1277584    -0.75   0.453    -.3476995    .1556595
    lnincome |   -.011989   .1329825    -0.09   0.928    -.2743877    .2504097
         Age |   .0097893   .0087121     1.12   0.262    -.0073749    .0269536
             |
ProvinceName |
       8002  |  -.8369979   .2317287    -3.61   0.000     -1.29348   -.3805163
       8003  |   .2892998   .2141035     1.35   0.178    -.1325329    .7111325
       8004  |   -.586153   .2256336    -2.60   0.010    -1.030652   -.1416537
       8005  |  -.4800239   .2306092    -2.08   0.038    -.9343027   -.0257451
       8006  |   .1771118   .2284456     0.78   0.439    -.2730825    .6273062
             |
       _cons |   2.602051   1.351408     1.93   0.056     -.064225    5.268327
------------------------------------------------------------------------------

. 
. coefplot (Freeriding, lab(Social Capital)) (CritGov, lab(Criticize Government)) (CurrentEcon, lab(Current Economy)) (FutureEcon, lab(Future Economy)), k
> eep(ArabSpring) mlabel yline(0) vert format(%9.2f) graphregion(color(white)) coeflabels(ArabSpring = "Saudi Arabia", notick ) bgcolor(white)  name(SA3) 
> saving(SBf3SA, asis replace)
(note: file SBf3SA.gph not found)
file SBf3SA.gph saved

. 
. grc1leg Sudan3 Lebanon3 SA3, saving(SBFigure3, asis replace)
(note: file SBFigure3.gph not found)
file SBFigure3.gph saved

. graph export SBFigure3.png, replace
(note: file SBFigure3.png not found)
(file SBFigure3.png written in PNG format)

. 
. eststo clear

. 
. save, replace
file SACEM.dta saved

. 
. /* Figure 4: Greater Scrutiny or Genuine Shift in Evaluation*/
. /* Sudan */
. 
. use SudanCEM

. 
. eststo DemMissing: mi estimate, post: reg democraticMissing ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        318
                                                  Average RVI     =     0.0352
                                                  Complete DF     =        302
DF adjustment:   Small sample                     DF:     min     =     142.04
                                                          avg     =     280.35
                                                          max     =     300.00
Model F test:       Equal FMI                     F(  15,  299.7) =       2.98
Within VCE type:       Robust                     Prob > F        =     0.0002

------------------------------------------------------------------------------
democratic~g |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |  -.0483201    .049552    -0.98   0.330    -.1458342     .049194
       Rural |  -.0097129   .0675956    -0.14   0.886    -.1427351    .1233093
      Female |   .0260832   .0391686     0.67   0.506    -.0510055    .1031719
    lnincome |   .0009148   .0354827     0.03   0.979    -.0692277    .0710572
         Age |   .0011115   .0025235     0.44   0.660    -.0038549    .0060778
             |
ProvinceName |
       9002  |   .0813981   .1317397     0.62   0.537    -.1778571    .3406533
       9004  |  -.2122298   .0923985    -2.30   0.022    -.3940636   -.0303959
       9005  |  -.1516127    .103797    -1.46   0.145    -.3558788    .0526534
       9006  |  -.1310044   .1199473    -1.09   0.276    -.3670529    .1050441
       9007  |  -.1002266    .108364    -0.92   0.356    -.3134782     .113025
       9008  |   .1877896    .118639     1.58   0.115    -.0456807    .4212599
       9009  |   .1338993   .1869556     0.72   0.474    -.2340254     .501824
       9010  |  -.1495343   .0974403    -1.53   0.126    -.3412904    .0422218
       9011  |  -.1874466   .1030991    -1.82   0.070    -.3903369    .0154436
       9013  |   .1834679   .2197358     0.83   0.404    -.2489509    .6158867
             |
       _cons |   .1600255   .2483752     0.64   0.520    -.3303523    .6504033
------------------------------------------------------------------------------

. 
. eststo CritMissing: mi estimate, post: reg CritMissing ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        318
                                                  Average RVI     =     0.0483
                                                  Complete DF     =        302
DF adjustment:   Small sample                     DF:     min     =     115.79
                                                          avg     =     276.64
                                                          max     =     299.78
Model F test:       Equal FMI                     F(  15,  299.4) =       1.75
Within VCE type:       Robust                     Prob > F        =     0.0418

------------------------------------------------------------------------------
 CritMissing |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |  -.1723445   .0851869    -2.02   0.044    -.3399861   -.0047028
       Rural |   .0482601   .1124926     0.43   0.668    -.1731158     .269636
      Female |   .0169184   .0630673     0.27   0.789    -.1072086    .1410454
    lnincome |   -.038827   .0638451    -0.61   0.544    -.1652827    .0876286
         Age |  -.0009342   .0038478    -0.24   0.808    -.0085071    .0066387
             |
ProvinceName |
       9002  |  -.1161494   .2051014    -0.57   0.572    -.5197803    .2874815
       9004  |  -.4352339   .1743477    -2.50   0.013    -.7783393   -.0921285
       9005  |   -.350805   .2232704    -1.57   0.117    -.7901858    .0885758
       9006  |  -.3103548   .2405123    -1.29   0.198    -.7836692    .1629596
       9007  |  -.0566403    .214446    -0.26   0.792    -.4786538    .3653732
       9008  |  -.0373799   .1905822    -0.20   0.845    -.4124294    .3376696
       9009  |  -.2139641   .2196422    -0.97   0.331    -.6462512     .218323
       9010  |  -.1391619   .2009852    -0.69   0.489    -.5346875    .2563637
       9011  |  -.3901263    .260245    -1.50   0.135    -.9022664    .1220139
       9013  |  -.0209307   .2618583    -0.08   0.936    -.5362441    .4943827
             |
       _cons |   .7963458   .4586904     1.74   0.085    -.1101209    1.702813
------------------------------------------------------------------------------

. 
. eststo Emigrate: mi estimate, post: reg Emigrate ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        318
                                                  Average RVI     =     0.1436
                                                  Complete DF     =        302
DF adjustment:   Small sample                     DF:     min     =     104.20
                                                          avg     =     232.77
                                                          max     =     299.74
Model F test:       Equal FMI                     F(  15,  296.8) =       8.54
Within VCE type:       Robust                     Prob > F        =     0.0000

------------------------------------------------------------------------------
    Emigrate |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |  -.1039012   .0796929    -1.30   0.194    -.2611341    .0533317
       Rural |    .233126   .0817658     2.85   0.005     .0719259    .3943262
      Female |  -.1047392   .0649146    -1.61   0.108    -.2326193    .0231409
    lnincome |  -.0013102   .0655989    -0.02   0.984    -.1313924     .128772
         Age |   .0036022   .0035471     1.02   0.311    -.0033988    .0106033
             |
ProvinceName |
       9002  |   .0769602    .148244     0.52   0.604    -.2148059    .3687263
       9004  |   .2663141   .1506935     1.77   0.078    -.0302442    .5628725
       9005  |   .1965838   .1380341     1.42   0.155     -.075075    .4682425
       9006  |    .209681   .1643158     1.28   0.203    -.1137019     .533064
       9007  |  -.0563901   .1450713    -0.39   0.698    -.3425004    .2297202
       9008  |  -.0735618   .1328997    -0.55   0.580    -.3351226    .1879989
       9009  |  -.3449902   .1280395    -2.69   0.008    -.5971204   -.0928599
       9010  |  -.1706066    .132941    -1.28   0.200    -.4323044    .0910912
       9011  |  -.2721779   .2032137    -1.34   0.182    -.6728503    .1284944
       9013  |   .1544942    .236018     0.65   0.513     -.309968    .6189565
             |
       _cons |   .2751657   .4701289     0.59   0.560    -.6563607    1.206692
------------------------------------------------------------------------------

. 
. eststo Democracy: mi estimate, post: reg DemocraticSupport ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        318
                                                  Average RVI     =     0.2556
                                                  Complete DF     =        302
DF adjustment:   Small sample                     DF:     min     =     106.39
                                                          avg     =     190.33
                                                          max     =     256.69
Model F test:       Equal FMI                     F(  15,  292.4) =       0.49
Within VCE type:       Robust                     Prob > F        =     0.9472

------------------------------------------------------------------------------
Democratic~t |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |   .0091373   .1752613     0.05   0.958    -.3361793    .3544538
       Rural |  -.2825663   .1974146    -1.43   0.154    -.6718989    .1067663
      Female |   .0821527   .1471583     0.56   0.577    -.2079672    .3722725
    lnincome |   .1548289   .1400058     1.11   0.271    -.1225044    .4321622
         Age |   .0078993   .0083006     0.95   0.342    -.0084657    .0242644
             |
ProvinceName |
       9002  |   .0914667   .2850722     0.32   0.749     -.471472    .6544053
       9004  |   .0066368   .2996069     0.02   0.982    -.5834676    .5967412
       9005  |   .0783137   .2826286     0.28   0.782    -.4789356     .635563
       9006  |   .3883061   .3050662     1.27   0.205    -.2134659     .990078
       9007  |  -.1110046   .3040659    -0.37   0.715    -.7103809    .4883716
       9008  |  -.1636543    .286918    -0.57   0.569    -.7293911    .4020825
       9009  |   .1582103   .3909286     0.40   0.687    -.6168105    .9332311
       9010  |   .0067388   .2408709     0.03   0.978    -.4680859    .4815635
       9011  |  -.1431618    .412677    -0.35   0.729    -.9558254    .6695019
       9013  |   .3633617   .4626896     0.79   0.433    -.5508152    1.277539
             |
       _cons |   .5130564   1.008277     0.51   0.612    -1.479254    2.505367
------------------------------------------------------------------------------

. 
. 
. coefplot (DemMissing, lab(Missing Democracy)) (CritMissing, lab(Missing Criticize Government)) (Emigrate, lab(Emigrate)) Democracy, keep(ArabSpring) mla
> bel yline(0) vert format(%9.2f) graphregion(color(white)) coeflabels(ArabSpring = "Sudan", notick ) ylabel(#3) bgcolor(white)  name(Sudan4, replace)

. 
. /* Lebanon */
. 
. use LebCEM

. 
. eststo DemMissing: mi estimate, post: reg democraticMissing ArabSpring Education lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        558
                                                  Average RVI     =     0.0084
                                                  Complete DF     =        548
DF adjustment:   Small sample                     DF:     min     =     542.84
                                                          avg     =     545.26
                                                          max     =     546.00
Model F test:       Equal FMI                     F(   9,  546.0) =       1.78
Within VCE type:       Robust                     Prob > F        =     0.0683

------------------------------------------------------------------------------
democratic~g |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |   .0017979   .0155404     0.12   0.908    -.0287285    .0323242
   Education |  -.0056228   .0048376    -1.16   0.246    -.0151253    .0038797
    lnincome |   .0088523    .011054     0.80   0.424    -.0128617    .0305662
         Age |   .0001553   .0004018     0.39   0.699     -.000634    .0009446
             |
ProvinceName |
       4502  |   -.005861    .015191    -0.39   0.700     -.035701     .023979
       4503  |  -.0137072   .0151847    -0.90   0.367    -.0435347    .0161203
       4504  |   .1225399    .043632     2.81   0.005     .0368327    .2082471
       4505  |   .0051556   .0244252     0.21   0.833    -.0428233    .0531344
       4506  |   .0240212   .0295946     0.81   0.417     -.034112    .0821545
             |
       _cons |  -.0416752   .0789328    -0.53   0.598     -.196726    .1133756
------------------------------------------------------------------------------

. 
. eststo CritMissing: mi estimate, post: reg CritMissing ArabSpring Rural Education lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        558
                                                  Average RVI     =     0.0103
                                                  Complete DF     =        547
DF adjustment:   Small sample                     DF:     min     =     465.59
                                                          avg     =     530.57
                                                          max     =     544.95
Model F test:       Equal FMI                     F(  10,  544.9) =       7.35
Within VCE type:       Robust                     Prob > F        =     0.0000

------------------------------------------------------------------------------
 CritMissing |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |    .375178   .0471656     7.95   0.000     .2825294    .4678267
       Rural |  -.1190342   .1743051    -0.68   0.495    -.4614263    .2233579
   Education |  -.0167698   .0139394    -1.20   0.229    -.0441517    .0106122
    lnincome |   .0217567   .0255235     0.85   0.394    -.0283988    .0719122
         Age |   .0002452   .0013569     0.18   0.857    -.0024203    .0029106
             |
ProvinceName |
       4502  |   .0367348   .0543808     0.68   0.500     -.070087    .1435565
       4503  |    .064982   .0621293     1.05   0.296    -.0570602    .1870242
       4504  |   .2999931   .0899435     3.34   0.001     .1233144    .4766719
       4505  |    .115231   .0769461     1.50   0.135    -.0359163    .2663783
       4506  |  -.0383796   .0573493    -0.67   0.504    -.1510326    .0742734
             |
       _cons |  -.1729611   .1761066    -0.98   0.327    -.5190129    .1730907
------------------------------------------------------------------------------

. 
. eststo Emigrate: mi estimate, post: reg Emigrate ArabSpring Education lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        558
                                                  Average RVI     =     0.0498
                                                  Complete DF     =        548
DF adjustment:   Small sample                     DF:     min     =     412.33
                                                          avg     =     500.82
                                                          max     =     539.29
Model F test:       Equal FMI                     F(   9,  543.8) =       7.12
Within VCE type:       Robust                     Prob > F        =     0.0000

------------------------------------------------------------------------------
    Emigrate |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |   .1292563   .0469056     2.76   0.006     .0370997    .2214129
   Education |   .0119918   .0180492     0.66   0.507    -.0234662    .0474497
    lnincome |   .0622688   .0395016     1.58   0.116    -.0153808    .1399184
         Age |  -.0063201   .0017928    -3.53   0.000    -.0098421   -.0027981
             |
ProvinceName |
       4502  |  -.1260796   .0737691    -1.71   0.088    -.2709896    .0188304
       4503  |  -.0698209   .0825041    -0.85   0.398    -.2319028    .0922609
       4504  |  -.1993479   .0842084    -2.37   0.018    -.3647744   -.0339213
       4505  |     .10975   .0928435     1.18   0.238    -.0726481    .2921481
       4506  |  -.0687426   .1021781    -0.67   0.501    -.2694715    .1319863
             |
       _cons |   .2170859   .2877521     0.75   0.451    -.3485066    .7826784
------------------------------------------------------------------------------

. 
. eststo Democracy: mi estimate, post: reg DemocraticSupport ArabSpring Education Rural lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        558
                                                  Average RVI     =     0.0617
                                                  Complete DF     =        547
DF adjustment:   Small sample                     DF:     min     =     359.76
                                                          avg     =     485.52
                                                          max     =     535.20
Model F test:       Equal FMI                     F(  10,  542.0) =      18.97
Within VCE type:       Robust                     Prob > F        =     0.0000

------------------------------------------------------------------------------
Democratic~t |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |  -.2368002   .0777232    -3.05   0.002    -.3895005   -.0840999
   Education |   .0872473   .0275608     3.17   0.002     .0331007    .1413939
       Rural |   .1599768   .4265733     0.38   0.708     -.677987    .9979407
    lnincome |  -.0684817   .0629098    -1.09   0.277    -.1921988    .0552354
         Age |   .0031263   .0032435     0.96   0.336    -.0032454     .009498
             |
ProvinceName |
       4502  |     .70707   .1208648     5.85   0.000     .4696425    .9444975
       4503  |   1.131577   .1192379     9.49   0.000     .8973454    1.365809
       4504  |   .4986453   .1586488     3.14   0.002       .18674    .8105507
       4505  |   .3690196    .141304     2.61   0.009     .0914216    .6466177
       4506  |   .0017497   .1596613     0.01   0.991    -.3119017     .315401
             |
       _cons |   1.833405   .4769636     3.84   0.000     .8956496     2.77116
------------------------------------------------------------------------------

. 
. 
. coefplot (DemMissing, lab(Missing Democracy)) (CritMissing, lab(Missing Criticize Government)) (Emigrate, lab(Emigrate)) Democracy, keep(ArabSpring) mla
> bel yline(0) vert format(%9.2f) graphregion(color(white)) coeflabels(ArabSpring = "Lebanon", notick ) ylabel(#3) bgcolor(white)  name(Lebanon4, replace)

. 
. save, replace
file LebCEM.dta saved

. 
. /* Saudi Arabia */
. 
. use SACEM

. 
. eststo DemMissing: mi estimate, post: reg democraticMissing ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        275
                                                  Average RVI     =     0.0179
                                                  Complete DF     =        264
DF adjustment:   Small sample                     DF:     min     =     197.51
                                                          avg     =     249.19
                                                          max     =     261.86
Model F test:       Equal FMI                     F(  10,  261.9) =      12.36
Within VCE type:       Robust                     Prob > F        =     0.0000

------------------------------------------------------------------------------
democratic~g |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |   .3638773   .0754143     4.83   0.000     .2153816     .512373
       Rural |    .321567   .1901094     1.69   0.092    -.0527706    .6959046
      Female |   .1455059   .0606395     2.40   0.017     .0261024    .2649094
    lnincome |   .0130655   .0746167     0.18   0.861    -.1340822    .1602132
         Age |   .0036437   .0038577     0.94   0.346    -.0039525    .0112399
             |
ProvinceName |
       8002  |  -.3171916   .1054297    -3.01   0.003    -.5248143   -.1095689
       8003  |  -.1484527   .1703778    -0.87   0.384    -.4839464     .187041
       8004  |  -.3629331   .1051432    -3.45   0.001    -.5699791    -.155887
       8005  |  -.1083613   .1189691    -0.91   0.363    -.3426233    .1259006
       8006  |  -.2931269   .1137158    -2.58   0.010    -.5170451   -.0692087
             |
       _cons |   .0093166   .7551977     0.01   0.990    -1.479765    1.498398
------------------------------------------------------------------------------

. 
. eststo CritMissing: mi estimate, post: reg CritMissing ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        275
                                                  Average RVI     =     0.0184
                                                  Complete DF     =        264
DF adjustment:   Small sample                     DF:     min     =     203.16
                                                          avg     =     250.78
                                                          max     =     261.97
Model F test:       Equal FMI                     F(  10,  261.9) =       3.98
Within VCE type:       Robust                     Prob > F        =     0.0000

------------------------------------------------------------------------------
 CritMissing |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |   .5308688   .1274719     4.16   0.000     .2798685    .7818691
       Rural |   .6035574   .6614877     0.91   0.362     -.698952    1.906067
      Female |   .0189608    .113013     0.17   0.867    -.2035697    .2414914
    lnincome |    .058894   .1385777     0.42   0.671     -.214341    .3321291
         Age |  -.0040616   .0080079    -0.51   0.612    -.0198298    .0117067
             |
ProvinceName |
       8002  |   .2363312   .2038881     1.16   0.247    -.1651674    .6378298
       8003  |  -.2429298   .3701878    -0.66   0.512    -.9718597    .4860001
       8004  |  -.1901616   .1927348    -0.99   0.325    -.5696827    .1893594
       8005  |  -.0132751   .2472173    -0.05   0.957    -.5000643    .4735142
       8006  |  -.5891567   .1755078    -3.36   0.001    -.9347479   -.2435655
             |
       _cons |   .0648856    1.39935     0.05   0.963    -2.693896    2.823667
------------------------------------------------------------------------------

. 
. eststo Emigrate: mi estimate, post: reg Emigrate ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        275
                                                  Average RVI     =     0.4584
                                                  Complete DF     =        264
DF adjustment:   Small sample                     DF:     min     =      51.77
                                                          avg     =     130.87
                                                          max     =     181.07
Model F test:       Equal FMI                     F(  10,  241.8) =       0.32
Within VCE type:       Robust                     Prob > F        =     0.9740

------------------------------------------------------------------------------
    Emigrate |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |  -.0197965   .0196181    -1.01   0.315    -.0586074    .0190144
       Rural |    -.00008   .0228429    -0.00   0.997     -.045238     .045078
      Female |  -.0063363   .0184994    -0.34   0.732    -.0428384    .0301658
    lnincome |   .0137744   .0269207     0.51   0.611     -.040019    .0675678
         Age |  -.0015476   .0011236    -1.38   0.170     -.003768    .0006728
             |
ProvinceName |
       8002  |  -.0140171   .0268853    -0.52   0.603    -.0672131    .0391788
       8003  |  -.0317332   .0256922    -1.24   0.219    -.0824979    .0190314
       8004  |  -.0046226   .0322148    -0.14   0.886    -.0682024    .0589571
       8005  |   -.026018   .0218246    -1.19   0.235    -.0691359    .0170999
       8006  |  -.0188178   .0316044    -0.60   0.553    -.0814063    .0437707
             |
       _cons |   .0008115   .2623176     0.00   0.998    -.5256229    .5272459
------------------------------------------------------------------------------

. 
. eststo Democracy: mi estimate, post: reg DemocraticSupport ArabSpring Rural Female lnincome Age i.ProvinceName [aweight=cem_weights], r

Multiple-imputation estimates                     Imputations     =         40
Linear regression                                 Number of obs   =        275
                                                  Average RVI     =     0.7240
                                                  Complete DF     =        264
DF adjustment:   Small sample                     DF:     min     =      64.20
                                                          avg     =      98.42
                                                          max     =     145.02
Model F test:       Equal FMI                     F(  10,  231.6) =       1.49
Within VCE type:       Robust                     Prob > F        =     0.1421

------------------------------------------------------------------------------
Democratic~t |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  ArabSpring |    .019495   .1795294     0.11   0.914    -.3360807    .3750706
       Rural |   .6776652   .6794701     1.00   0.320    -.6666957    2.022026
      Female |   .1913257   .1777612     1.08   0.285     -.162686    .5453375
    lnincome |   .0258497   .1824761     0.14   0.888    -.3379126     .389612
         Age |   .0032317   .0119214     0.27   0.787    -.0203305    .0267938
             |
ProvinceName |
       8002  |   .1194158   .2794248     0.43   0.670    -.4343185    .6731501
       8003  |   .3236904   .3813007     0.85   0.399    -.4380007    1.085381
       8004  |   .7310107   .2398128     3.05   0.003     .2563905    1.205631
       8005  |   .0066635   .2768535     0.02   0.981    -.5425186    .5558456
       8006  |    .299017   .2761798     1.08   0.283    -.2514767    .8495106
             |
       _cons |   .8470554   1.885407     0.45   0.655    -2.912471    4.606582
------------------------------------------------------------------------------

. 
. coefplot (DemMissing, lab(Missing Democracy)) (CritMissing, lab(Missing Criticize Government)) (Emigrate, lab(Emigrate)) Democracy, keep(ArabSpring) mla
> bel yline(0) vert format(%9.2f) graphregion(color(white)) coeflabels(ArabSpring = "Saudi Arabia", notick) ylabel(#3) bgcolor(white)  name(SA4, replace)

. 
. grc1leg Sudan4 Lebanon4 SA4, saving(SBFigure4, asis replace)
(note: file SBFigure4.gph not found)
file SBFigure4.gph saved

. graph export SBFigure4.png, replace
(note: file SBFigure4.png not found)
(file SBFigure4.png written in PNG format)

. 
. /* Table for Figure 4 */
. 
. esttab using SBTable31.tex, star(+ 0.10 * 0.05) ci label replace booktabs mgr("Sudan" "Lebanon" "Saudi Arabia", pattern(1 0 0 0 1 0 0 0 1 0 0 0)) compre
> ss 
(note: file SBTable31.tex not found)
(output written to SBTable31.tex)

. 
. eststo clear

. 
. save, replace
file SACEM.dta saved

. 
. 
. /* Freeriding as a Mediating Variable */
. 
. use SudanCEM, clear

. 
. mi estimate (ind_eff: [Freeriding]_b[ArabSpring]*[CritGov2]_b[Freeriding]) (tot_eff: [Freeriding]_b[ArabSpring]*[CritGov2]_b[Freeriding] + [CritGov2]_b[
> ArabSpring]), cmdok: sureg (Freeriding ArabSpring Rural lnincome Female Age i.ProvinceName)(CritGov2 Freeriding ArabSpring Rural lnincome Female Age i.P
> rovinceName) [aweight=cem_weights]

Multiple-imputation estimates                     Imputations     =         40
                                                  Number of obs   =        318
                                                  Average RVI     =     0.3517
DF adjustment:   Large sample                     DF:     min     =     140.97
                                                          avg     =    1095.45
                                                          max     =    5380.18

------------------------------------------------------------------------------
             |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
Freeriding   |
  ArabSpring |   .4798009   .1479027     3.24   0.001     .1879735    .7716282
       Rural |   .0366997   .1568486     0.23   0.815    -.2719094    .3453088
    lnincome |  -.0323036   .1195368    -0.27   0.787    -.2685749    .2039677
      Female |  -.0182199   .1122352    -0.16   0.871    -.2387283    .2022884
         Age |   .0004896     .00614     0.08   0.937    -.0116076    .0125868
             |
ProvinceName |
       9002  |   .2515345   .2819946     0.89   0.373    -.3023758    .8054449
       9004  |   .2369833   .2458606     0.96   0.336    -.2460945    .7200611
       9005  |  -.3676001   .2303159    -1.60   0.111    -.8193876    .0841875
       9006  |  -.2361761   .2664508    -0.89   0.376    -.7590416    .2866895
       9007  |  -.2241187   .2520562    -0.89   0.375    -.7204288    .2721914
       9008  |   .3045094    .231873     1.31   0.189     -.150579    .7595978
       9009  |   .2658315   .3242466     0.82   0.413    -.3711821    .9028451
       9010  |   .7515552   .2431857     3.09   0.002     .2743998    1.228711
       9011  |   .0806503   .2856059     0.28   0.778    -.4813985    .6426991
       9013  |   .0741665   .4434915     0.17   0.867    -.7975999    .9459328
             |
       _cons |   1.534102   .8583534     1.79   0.076    -.1628076    3.231011
-------------+----------------------------------------------------------------
CritGov2     |
  Freeriding |   -.480413   .0912607    -5.26   0.000    -.6599155   -.3009105
  ArabSpring |  -.5080979    .167106    -3.04   0.002     -.836096   -.1800998
       Rural |   .0772993    .182366     0.42   0.672    -.2804181    .4350166
    lnincome |   .0069514   .1492233     0.05   0.963    -.2874497    .3013526
      Female |  -.3733992   .1319004    -2.83   0.005    -.6319774    -.114821
         Age |  -.0034811   .0069325    -0.50   0.616    -.0170835    .0101213
             |
ProvinceName |
       9002  |  -.6437822   .3462465    -1.86   0.063    -1.322848    .0352833
       9004  |   .2855023   .2974056     0.96   0.337    -.2977468    .8687514
       9005  |   .5193613   .3123349     1.66   0.097    -.0935361    1.132259
       9006  |   .4959653   .3487492     1.42   0.155    -.1882361    1.180167
       9007  |   .1748539   .2979151     0.59   0.557     -.409974    .7596819
       9008  |    .611288   .2899787     2.11   0.035     .0427274    1.179849
       9009  |   .4929161   .3935863     1.25   0.211    -.2789454    1.264778
       9010  |  -.3269413    .314838    -1.04   0.299    -.9442874    .2904047
       9011  |   -.090756   .3459773    -0.26   0.793    -.7700354    .5885233
       9013  |   .2606554   .5235309     0.50   0.619    -.7659661    1.287277
             |
       _cons |   3.017653   1.044948     2.89   0.004     .9579407    5.077366
------------------------------------------------------------------------------

Transformations                                   Average RVI     =     0.4426
DF adjustment:   Large sample                     DF:     min     =     233.92
                                                          avg     =    2575.90
                                                          max     =    4917.87

      ind_eff: [Freeriding]_b[ArabSpring]*[CritGov2]_b[Freeriding]
      tot_eff: [Freeriding]_b[ArabSpring]*[CritGov2]_b[Freeriding] + [CritGov2]_b[ArabSpring]

------------------------------------------------------------------------------
             |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
     ind_eff |  -.2301205   .0829567    -2.77   0.006    -.3935582   -.0666828
     tot_eff |  -.7382184   .1598628    -4.62   0.000    -1.051621   -.4248159
------------------------------------------------------------------------------

. mi estimate (ind_eff: [Freeriding]_b[ArabSpring]*[CurrentEcon]_b[Freeriding]) (tot_eff: [Freeriding]_b[ArabSpring]*[CurrentEcon]_b[Freeriding] + [Curren
> tEcon]_b[ArabSpring]), cmdok: sureg (Freeriding ArabSpring Rural lnincome Female Age i.ProvinceName)(CurrentEcon Freeriding ArabSpring Rural lnincome Fe
> male Age i.ProvinceName) [aweight=cem_weights]

Multiple-imputation estimates                     Imputations     =         40
                                                  Number of obs   =        318
                                                  Average RVI     =     0.2915
DF adjustment:   Large sample                     DF:     min     =     140.97
                                                          avg     =   14558.74
                                                          max     =   82754.45

------------------------------------------------------------------------------
             |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
Freeriding   |
  ArabSpring |   .4798009   .1479027     3.24   0.001     .1879735    .7716282
       Rural |   .0366997   .1568486     0.23   0.815    -.2719094    .3453088
    lnincome |  -.0323036   .1195368    -0.27   0.787    -.2685749    .2039677
      Female |  -.0182199   .1122352    -0.16   0.871    -.2387283    .2022884
         Age |   .0004896     .00614     0.08   0.937    -.0116076    .0125868
             |
ProvinceName |
       9002  |   .2515345   .2819946     0.89   0.373    -.3023758    .8054449
       9004  |   .2369833   .2458606     0.96   0.336    -.2460945    .7200611
       9005  |  -.3676001   .2303159    -1.60   0.111    -.8193876    .0841875
       9006  |  -.2361761   .2664508    -0.89   0.376    -.7590416    .2866895
       9007  |  -.2241187   .2520562    -0.89   0.375    -.7204288    .2721914
       9008  |   .3045094    .231873     1.31   0.189     -.150579    .7595978
       9009  |   .2658315   .3242466     0.82   0.413    -.3711821    .9028451
       9010  |   .7515552   .2431857     3.09   0.002     .2743998    1.228711
       9011  |   .0806503   .2856059     0.28   0.778    -.4813985    .6426991
       9013  |   .0741665   .4434915     0.17   0.867    -.7975999    .9459328
             |
       _cons |   1.534102   .8583534     1.79   0.076    -.1628076    3.231011
-------------+----------------------------------------------------------------
CurrentEcon  |
  Freeriding |   .2718356   .0645251     4.21   0.000     .1451355    .3985358
  ArabSpring |   .3299996   .1187937     2.78   0.006     .0970729    .5629263
       Rural |  -.0448391   .1303146    -0.34   0.731    -.3002809    .2106026
    lnincome |  -.0368747   .0958396    -0.38   0.701    -.2250883    .1513389
      Female |   .2126933   .0979712     2.17   0.030     .0206562    .4047304
         Age |   .0015564   .0048491     0.32   0.748    -.0079485    .0110613
             |
ProvinceName |
       9002  |  -.0836196   .2451506    -0.34   0.733    -.5641149    .3968757
       9004  |  -.2360573   .2119439    -1.11   0.265     -.651472    .1793573
       9005  |  -.0963092   .2143587    -0.45   0.653    -.5164531    .3238347
       9006  |  -.6522348   .2421079    -2.69   0.007    -1.126767   -.1777028
       9007  |  -.4808346   .2055845    -2.34   0.019    -.8838371   -.0778321
       9008  |   .2134126   .2090207     1.02   0.307    -.1962664    .6230916
       9009  |   -.021588   .2833261    -0.08   0.939    -.5769377    .5337617
       9010  |  -.2345585    .225838    -1.04   0.299    -.6772003    .2080833
       9011  |  -.0960202   .2336145    -0.41   0.681    -.5539232    .3618828
       9013  |    .073735   .4030649     0.18   0.855    -.7168834    .8643535
             |
       _cons |   1.017266    .677259     1.50   0.133    -.3121551    2.346687
------------------------------------------------------------------------------

Transformations                                   Average RVI     =     0.4250
DF adjustment:   Large sample                     DF:     min     =     198.71
                                                          avg     =   48765.54
                                                          max     =   97332.37

      ind_eff: [Freeriding]_b[ArabSpring]*[CurrentEcon]_b[Freeriding]
      tot_eff: [Freeriding]_b[ArabSpring]*[CurrentEcon]_b[Freeriding] + [CurrentEcon]_b[ArabSpring]

------------------------------------------------------------------------------
             |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
     ind_eff |   .1318346   .0541943     2.43   0.016     .0249648    .2387044
     tot_eff |   .4618342   .1134227     4.07   0.000      .239527    .6841414
------------------------------------------------------------------------------

. mi estimate (ind_eff: [Freeriding]_b[ArabSpring]*[FutureEcon]_b[Freeriding]) (tot_eff: [Freeriding]_b[ArabSpring]*[FutureEcon]_b[Freeriding] + [FutureEc
> on]_b[ArabSpring]), cmdok: sureg (Freeriding ArabSpring Rural lnincome Female Age i.ProvinceName)(FutureEcon Freeriding ArabSpring Rural lnincome Female
>  Age i.ProvinceName) [aweight=cem_weights]

Multiple-imputation estimates                     Imputations     =         40
                                                  Number of obs   =        318
                                                  Average RVI     =     0.3064
DF adjustment:   Large sample                     DF:     min     =     140.97
                                                          avg     =    2400.42
                                                          max     =    8872.89

------------------------------------------------------------------------------
             |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
Freeriding   |
  ArabSpring |   .4798009   .1479027     3.24   0.001     .1879735    .7716282
       Rural |   .0366997   .1568486     0.23   0.815    -.2719094    .3453088
    lnincome |  -.0323036   .1195368    -0.27   0.787    -.2685749    .2039677
      Female |  -.0182199   .1122352    -0.16   0.871    -.2387283    .2022884
         Age |   .0004896     .00614     0.08   0.937    -.0116076    .0125868
             |
ProvinceName |
       9002  |   .2515345   .2819946     0.89   0.373    -.3023758    .8054449
       9004  |   .2369833   .2458606     0.96   0.336    -.2460945    .7200611
       9005  |  -.3676001   .2303159    -1.60   0.111    -.8193876    .0841875
       9006  |  -.2361761   .2664508    -0.89   0.376    -.7590416    .2866895
       9007  |  -.2241187   .2520562    -0.89   0.375    -.7204288    .2721914
       9008  |   .3045094    .231873     1.31   0.189     -.150579    .7595978
       9009  |   .2658315   .3242466     0.82   0.413    -.3711821    .9028451
       9010  |   .7515552   .2431857     3.09   0.002     .2743998    1.228711
       9011  |   .0806503   .2856059     0.28   0.778    -.4813985    .6426991
       9013  |   .0741665   .4434915     0.17   0.867    -.7975999    .9459328
             |
       _cons |   1.534102   .8583534     1.79   0.076    -.1628076    3.231011
-------------+----------------------------------------------------------------
FutureEcon   |
  Freeriding |    .318924   .0929019     3.43   0.001     .1361817    .5016662
  ArabSpring |   .6709749   .1614559     4.16   0.000     .3543507    .9875991
       Rural |  -.1676634   .1762473    -0.95   0.341    -.5131586    .1778317
    lnincome |  -.1152238   .1387123    -0.83   0.407      -.38816    .1577124
      Female |   .1517046   .1340946     1.13   0.258    -.1111777    .4145869
         Age |   .0066184   .0065798     1.01   0.315    -.0062797    .0195165
             |
ProvinceName |
       9002  |   -.022515    .341248    -0.07   0.947    -.6915185    .6464885
       9004  |  -.8527685   .2972372    -2.87   0.004     -1.43556   -.2699769
       9005  |  -.3181866   .2960389    -1.07   0.282    -.8985189    .2621457
       9006  |  -.8705069   .3325617    -2.62   0.009    -1.522405   -.2186091
       9007  |   -.980299   .2838975    -3.45   0.001    -1.536978   -.4236199
       9008  |  -.3376536   .2895307    -1.17   0.244    -.9052327    .2299254
       9009  |  -.5561579   .3930558    -1.41   0.157    -1.326805    .2144895
       9010  |  -.3141372   .3152933    -1.00   0.319    -.9322721    .3039977
       9011  |   -.489115   .3218099    -1.52   0.129    -1.120007    .1417769
       9013  |  -.1817257   .5346224    -0.34   0.734    -1.230178    .8667261
             |
       _cons |   2.492706   .9852613     2.53   0.012     .5548865    4.430525
------------------------------------------------------------------------------

Transformations                                   Average RVI     =     0.3640
DF adjustment:   Large sample                     DF:     min     =     256.39
                                                          avg     =    6266.92
                                                          max     =   12277.44

      ind_eff: [Freeriding]_b[ArabSpring]*[FutureEcon]_b[Freeriding]
      tot_eff: [Freeriding]_b[ArabSpring]*[FutureEcon]_b[Freeriding] + [FutureEcon]_b[ArabSpring]

------------------------------------------------------------------------------
             |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
     ind_eff |   .1530972   .0653049     2.34   0.020      .024495    .2816995
     tot_eff |   .8240721   .1541362     5.35   0.000      .521941    1.126203
------------------------------------------------------------------------------

. 
. 
. /* Generate Table */
. 
. save, replace
file SudanCEM.dta saved

. 
end of do-file

. log close
      name:  <unnamed>
       log:  C:\Users\Ammar\Documents\NOON Replication\ReplicationLog.log
  log type:  text
 closed on:  16 Jul 2019, 14:24:03
----------------------------------------------------------------------------------------------------------------------------------------------------------
